package io.github.talelin.latticy.mapper;

import io.github.talelin.latticy.bo.StockBO;
import io.github.talelin.latticy.model.StockDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 库存 Mapper 接口
 * </p>
 *
 * @author generator@wulongbo
 * @since 2022-06-28
 */
public interface StockMapper extends BaseMapper<StockDO> {

    /**
     * 批量新增或修改
     * @param list
     */
    void saveOrUpdate(List<StockBO> list);
}
